home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Nebula 1
/
Nebula One.iso
/
Mail
/
pine3.92
/
pine
/
osdep
/
creatdir.os2
< prev
next >
Wrap
Text File
|
1996-03-14
|
374b
|
17 lines
#line 2 "osdep/creatdir.os2"
/*----------------------------------------------------------------------
Create the mail subdirectory.
Args: dir -- Name of the directory to create
Result: Directory is created. Returns 0 on success, else -1 on error
and errno is valid.
----*/
create_mail_dir(dir)
char *dir;
{
return((mkdir(dir, 0) < 0) ? -1 : 0);
}